// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//引入初始化 retset.css 和 边框1px问题 border.css
import './assets/css/retset.css'
import './assets/css/border.css'
//引入字体图标css样式
import './assets/css/iconfont.css'
//引入fastclick 包,解决移动端点击屏幕延迟问题
import fastClick from 'fastclick'

//引入 swiper 插件
import VueAwesomeSwiper from 'vue-awesome-swiper'

//引入swiper插件的css样式
import 'swiper/dist/css/swiper.css'

//引入vuex
import store from './store/index'

Vue.config.productionTip = false

//使用fastclick
fastClick.attach(document.body)

//使用swiper插件
Vue.use(VueAwesomeSwiper)


/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
